.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: none;
}

.modal-open {
  overflow: hidden;
}

.modal.show {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.show .modal-dialog {
  transform: translateY(0);
}

.modal-dialog {
  max-width: 500px;
  position: relative;
  padding: 20px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 6px 6px 5px 0px rgba(43, 43, 46, 0.75);
  -webkit-box-shadow: 6px 6px 5px 0px rgba(43, 43, 46, 0.75);
  -moz-box-shadow: 6px 6px 5px 0px rgba(43, 43, 46, 0.75);
  transform: translateY(-500%);
  transition: transform 1s ease-in-out;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
  opacity: 0.5;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s linear;
}

.close:hover {
  opacity: 0.75;
}

.modal-header {
  text-align: center;
  padding: 15px 0 25px;
}

.modal-title {
  margin: 0;
  font-size: 30px;
}

.modal-body {
  text-align: center;
  padding: 15px 0 15px;
}

.modal-text {
  margin: 0;
  font-size: 20px;
}

.modal-footer {
  display: flex;
  padding: 12px 0 12px;
  align-items: center;
  justify-content: flex-end;
}

.btn {
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  outline: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 4px 4px 5px 0px rgba(43, 43, 46, 0.75);
  -webkit-box-shadow: 4px 4px 5px 0px rgba(43, 43, 46, 0.75);
  -moz-box-shadow: 4px 4px 5px 0px rgba(43, 43, 46, 0.75);
  transition: border-color 0.3s, background-color 0.3s;
}

.btn-yes {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
  margin-right: 10px;
}

.btn-yes:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.btn-no {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-no:hover {
  background-color: #c82333;
  border-color: #bd2130;
}
